Skip to main content

CreateMountTarget

Description

call the CreateMountTarget interface to create a mount point.

Request Method

POST

Request Path

/apsara/route/NAS/CreateMountTarget

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
VpcIdBODYstringNovpc-2zesj9afh3y518k9o****proprietary network ID. When the network type is a proprietary network, this field is required and meaningful.
regionIdBODYstringYesNo sample value for this parameter.region id
NetworkTypeBODYstringYesVPCmount point network type. Value: Vpc: VPC Classic: Classic Network
AccessGroupNameBODYstringYesclassic-testpermission group name. default permission group: DEFAULT_VPC_GROUP_NAME (vpc default permission group) and DEFAULT_CLASSIC_GROUP_NAME (classic network default permission group).
VSwitchIdBODYstringNovsw-2zevmwkwyztjuoffg****switch ID. When the network type is a proprietary network, this field is required and meaningful.
SecurityGroupIdBODYstringNosg-bp1fg655nh68xyz9****security group ID.
FileSystemIdBODYstringYes174494****file system ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring70EACC9C-D07A-4A34-ADA4-77506C42****request ID.
MountTargetDomainstring174494b666-x****.cn-hangzhou.nas.aliyuncs.commount point domain name.

Example

Successful Response example

{
"RequestId":"70EACC9C-D07A-4A34-ADA4-77506C42****",
"MountTargetDomain":"174494b666-x****.cn-hangzhou.nas.aliyuncs.com"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}